home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 November / CMCD1104.ISO / Software / Freeware / Programare / bluej / bluejsetup-200.exe / {app} / lib / swedish / templates / newclass / abstract.tmpl next >
Encoding:
Text File  |  2004-09-15  |  459 b   |  24 lines

  1. $PKGLINE/**
  2.  * Abstract class $CLASSNAME - write a description of the class here
  3.  * 
  4.  * @author: 
  5.  * Date: 
  6.  */
  7. public abstract class $CLASSNAME
  8. {
  9.     // instance variables - replace the example below with your own
  10.     int x;
  11.  
  12.     /**
  13.      * An example of a method - replace this comment with your own
  14.      * 
  15.      * @param  y    a sample parameter for a method
  16.      * @return        the sum of x and y 
  17.      */
  18.     public int sampleMethod(int y)
  19.     {
  20.         // put your code here
  21.         return x + y;
  22.     }
  23. }
  24.